/*
 * Description: CBOM 接口
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Qiuxue.Wu
 * Date: 2020/9/15 11:37
 */

import { httpPost } from '../../utils/axios-utils'

export function cbomInfoList(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info/list', obj, authConfig)
}

export function cbomInfoPageList(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info/pageList', obj, authConfig)
}

export function cbomInfoAdd(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info/add', obj, authConfig)
}

export function cbomInfoEdit(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info/edit', obj, authConfig)
}

export function cbomInfoDelete(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info/delete', obj, authConfig)
}

export function cbomInfoDetailList(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info_detail/list', obj, authConfig)
}

export function cbomInfoDetailRefresh(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info_detail/refresh', obj, authConfig)
}

export function cbomInfoDetailListAll(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info_detail/listAll', obj, authConfig)
}

export function cbomInfoDetailLeafList(obj, authConfig) {
  return httpPost('/smart-cost/cbom/info_detail/leafList', obj, authConfig)
}
